package com.haoma.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.haoma.entity.LearningPath;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Description:
 */
public interface LearningPathService {
    IPage pageLearningPath(Integer page, Integer limit, String name);

    void saveLearningPath(LearningPath learningPath);

    void updateLearningPath(LearningPath learningPath);

    void delLearningPath(Integer id);

    void exportExcel(HttpServletResponse response) throws IOException;

    void importExcel(MultipartFile multipartFile) throws IOException;

    void getExcelTemplate(HttpServletResponse response);
}
